Total Complexity | 47 |
Dependencies | 5 |
Dependents | 0 |
Total lines | 378 |
Lines of code | 152 |
Logical lines of code | 86 |
Comment lines | 169 |
Methods | 15 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
__construct() | 46 | 11 | 34 | |
post_update_save_trigger() | 55 | 10 | 19 | |
trigger_sync_for_acf_post() | 55 | 9 | 20 | |
create_cron_job() | 57 | 2 | 18 | |
deactivate() | 64 | 2 | 11 | |
get_instance() | 71 | 2 | 6 | |
sync_posts_on_post_update() | 67 | 2 | 8 | |
is_elementor_post() | 68 | 2 | 7 | |
add_custom_schedule() | 68 | 1 | 7 | |
refresh_access_token() | 81 | 1 | 3 | |
fetch_update_posts() | 81 | 1 | 3 | |
sync_posts() | 81 | 1 | 3 | |
remove_rows_from_sync_table() | 70 | 1 | 6 | |
init_posts_ids_batch() | 80 | 1 | 3 | |
ready_batch_for_process() | 77 | 1 | 4 |